// import axios from 'axios';
import { req } from './axiosFun';

// /**
//  * 支付配置信息
//  **/
// // 支付配置信息-获取支付配置信息列表
// export const MachineConfigList = (params) => { return req("post", "/api/MachineConfig/list", params) };
// // 支付配置信息-保存支付配置信息
// export const MachineConfigSave = (params) => { return req("post", "/api/MachineConfig/save", params) };
// // 支付配置信息-删除支付配置信息
// export const MachineConfigDelete = (params) => { return axios.delete("/api/MachineConfig/delete?ids=" + params + "&token=" + localStorage.getItem('logintoken')).then(res => res.data) };

export const submitOrderCount = () => { return req("get", "/gantanhao/index/orderCount") };


export const getEchart = () => { return req("get", "/gantanhao/index/echartsData") };

export const getPageList = (params) => { return req("post", "/gantanhao/order/orderList",params) };

export const getPageListOrderOther = (params) => { return req("post", "/gantanhao/order/distributorOrder",params) };
